<html>
<head><meta charset="utf-8"><title>refactoring TyCtxt to remove &#x27;a #61722 · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/refactoring.20TyCtxt.20to.20remove.20&#x27;a.20.2361722.html">refactoring TyCtxt to remove &#x27;a #61722</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="167790988"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/refactoring%20TyCtxt%20to%20remove%20%27a%20%2361722/near/167790988" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/refactoring.20TyCtxt.20to.20remove.20&#x27;a.20.2361722.html#167790988">(Jun 10 2019 at 19:57)</a>:</h4>
<p>So <span class="user-mention" data-user-id="119009">@eddyb</span> has a PR <a href="https://github.com/rust-lang/rust/issues/61722" target="_blank" title="https://github.com/rust-lang/rust/issues/61722">#61722</a> to convert <code>TyCtxt&lt;'a, 'gcx, 'tcx&gt;</code> to <code>TyCtxt&lt;'gcx, 'tcx&gt;</code> -- this is likely to be a major source of conflicts. <span class="user-mention" data-user-id="116466">@Zoxc</span>, I think you cited <a href="https://github.com/rust-lang/rust/issues/57173" target="_blank" title="https://github.com/rust-lang/rust/issues/57173">#57173</a>? I wanted to give <span class="user-group-mention" data-user-group-id="492">@T-compiler</span> a heads up on this.</p>



<a name="167831154"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/refactoring%20TyCtxt%20to%20remove%20%27a%20%2361722/near/167831154" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/refactoring.20TyCtxt.20to.20remove.20&#x27;a.20.2361722.html#167831154">(Jun 11 2019 at 08:50)</a>:</h4>
<p>note that PR <a href="https://github.com/rust-lang/rust/issues/57173" target="_blank" title="https://github.com/rust-lang/rust/issues/57173">#57173</a> is blocked on PR <a href="https://github.com/rust-lang/rust/issues/59205" target="_blank" title="https://github.com/rust-lang/rust/issues/59205">#59205</a> which is itself blocked on PR <a href="https://github.com/rust-lang/rust/issues/59064" target="_blank" title="https://github.com/rust-lang/rust/issues/59064">#59064</a></p>



<a name="167845316"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/refactoring%20TyCtxt%20to%20remove%20%27a%20%2361722/near/167845316" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/refactoring.20TyCtxt.20to.20remove.20&#x27;a.20.2361722.html#167845316">(Jun 11 2019 at 12:34)</a>:</h4>
<p>btw, <span class="user-mention" data-user-id="124288">@oli</span> r+'d <a href="https://github.com/rust-lang/rust/issues/61735" target="_blank" title="https://github.com/rust-lang/rust/issues/61735">#61735</a>, which is relatively small, but might impact other PRs by requiring removing unused lifetimes (it will surely impact <a href="https://github.com/rust-lang/rust/issues/61722" target="_blank" title="https://github.com/rust-lang/rust/issues/61722">#61722</a> but I'm not sure about other PRs)</p>



<a name="167845454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/refactoring%20TyCtxt%20to%20remove%20%27a%20%2361722/near/167845454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/refactoring.20TyCtxt.20to.20remove.20&#x27;a.20.2361722.html#167845454">(Jun 11 2019 at 12:36)</a>:</h4>
<p>at least we can <code>allow(unused_lifetimes)</code> for some modules, if we have to</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>